package com.example.service;

import com.example.pojo.HumidityHistoryData;
import com.example.pojo.TemperatureHistoryData;

public interface HistoryDataService {

    /**
     * 获取温度历史数据
     */
    TemperatureHistoryData getTemperatureData(String token, String time) throws Exception;

    /**
     * 获取湿度历史数据
     */
    HumidityHistoryData getHumidityData(String token, String time) throws Exception;
}
